package fdb

class FND_ASSET_CONF {
    int fundId
    Date endDate
    int source
    Date declareDate
    Date trupCheckDate
    String assetVal
    String unitAssetVal
    String assetTot
    String fndTotShares
    String stkVal
    String stkValAssetProp
    String stkValNaProp
    String bndVal
    String bndValAssetProp
    String bndValNaProp
    String depReckUp
    String depReckUpAssetUp
    String depValNaProp
    String othAssetVal
    String othAssetValTotProp
    String othValNaProp
    String buyBakSec
    String buyBakSecProp
    String bakSecNaProp
    String optVal
    String optValTotProp
    String optValNaProp
    String hldFndVal
    String hldFndValTotProp
    String hldFndValNaProp
    String absVal
    String absValTotProp
    String absValNaProp
    String moneyMktVal
    String moneyMktValTotProp
    String backDue
    String backDueAssetProp
    String convBndVal
    String convBndAssetProp
    String natValCurncyCap
    String natValCurncyCapProp
    String othInvVal
    String othInvValProp
    String depReceVal
    String depReceAssetProp
    String eqtInvstVal
    String eqtInvstAssetProp
    String forwardVal
    String forwardAssetTotProp
    String futuresVal
    String futuresAssetTotProp
    String optionsVal
    String optionSAssetTotProp
    String finDertVal
    String finDertAssetProp
    String fixIncmVal
    String fixIncmAssetProp
    static constraints = {
        declareDate nullable: true
         trupCheckDate nullable: true
         assetVal nullable: true,size: 2..18
         unitAssetVal nullable: true,size: 5..10
         assetTot nullable: true,size: 2..18
         fndTotShares nullable: true,size: 2..18
         stkVal nullable: true,size: 2..18
         stkValAssetProp nullable: true,size: 3..7
         stkValNaProp nullable: true,size: 4..7
         bndVal nullable: true,size: 2..18
         bndValAssetProp nullable: true,size: 3..7
         bndValNaProp nullable: true,size: 4..7
         depReckUp nullable: true,size: 2..18
         depReckUpAssetUp nullable: true,size: 3..7
         depValNaProp nullable: true,size: 4..7
         othAssetVal nullable: true,size: 2..18
         othAssetValTotProp nullable: true,size: 3..7
         othValNaProp nullable: true,size: 4..7
         buyBakSec nullable: true,size: 2..18
         buyBakSecProp nullable: true,size: 3..7
         bakSecNaProp nullable: true,size: 4..7
         optVal nullable: true,size: 2..18
         optValTotProp nullable: true,size: 3..7
         optValNaProp nullable: true,size:4..7
         hldFndVal nullable: true,size: 2..18
         hldFndValTotProp nullable: true,size: 3..7
         hldFndValNaProp nullable: true,size: 4..7
         absVal nullable: true,size: 2..18
         absValTotProp nullable: true,size: 3..7
         absValNaProp nullable: true,size: 4..7
         moneyMktVal nullable: true,size: 2..18
         moneyMktValTotProp nullable: true,size: 3..7
         backDue nullable: true,size: 2..18
         backDueAssetProp nullable: true,size: 3..7
         convBndVal nullable: true,size: 2..18
         convBndAssetProp nullable: true,size: 3..7
         natValCurncyCap nullable: true,size: 2..18
         natValCurncyCapProp nullable: true,size: 3..7
         othInvVal nullable: true,size: 2..18
         othInvValProp nullable: true,size: 3..7
         depReceVal nullable: true,size: 2..18
         depReceAssetProp nullable: true,size: 3..7
         eqtInvstVal nullable: true,size: 2..18
         eqtInvstAssetProp nullable: true,size: 3..7
         forwardVal nullable: true,size: 2..18
         forwardAssetTotProp nullable: true,size: 3..7
         futuresVal nullable: true,size: 2..18
         futuresAssetTotProp nullable: true,size: 3..7
         optionsVal nullable: true,size: 2..18
         optionSAssetTotProp nullable: true,size: 3..7
         finDertVal nullable: true,size: 2..18
         finDertAssetProp nullable: true,size: 3..7
         fixIncmVal nullable: true,size: 2..18
         fixIncmAssetProp nullable: true,size: 3..7

    }
    static  mapping = {
        id generator: 'assigned' ,name :"fundId",column: "FUND_ID"
        id generator: 'assigned' ,name :"endDate",column: "END_DATE"
        id generator: 'assigned' ,name :"source",column: "SOURCE"

    }
}
